package com.sofar.gems.framework.service;

import com.sofar.gems.framework.entity.SysUser;

import java.util.List;

/**
 * @description: 系统用户接口
 * @company: yaorange
 * @author: 啊啊啊林
 * @version: 1.0
 * @create: 2021-09-21 19:44:56
 */
public interface SysUserService {


    //主键删除
    int deleteByPrimaryKey(Integer id);

    //全参插入
    int insert(SysUser record);

    //非全参插入
    int insertSelective(SysUser record);

    //主键查询
    SysUser selectByPrimaryKey(Integer id);
    //查询所有
    List<SysUser> selectAll();
    //登录
    SysUser selectLogin(SysUser sysUser);
    //更新 非全参
    int updateByPrimaryKeySelective(SysUser record);

    //全参更新  不写的参数会为null
    int updateByPrimaryKey(SysUser record);

}
